package org.example.admin.feign;

import org.example.core.constant.SecurityConstants;
import org.example.core.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * @author 小杰_cc
 * @version 1.0
 */
@FeignClient("member-service")
public interface Hfeign {
    @GetMapping("/admin/member/member/h")
    R<?> h(@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
}
